wayland: Add support for BTN_STYLUS3
authorJason Gerecke <killertofu@gmail.com>
Tue, 10 Oct 2017 16:17:43 +0000 (09:17 -0700)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 30 Jan 2018 20:32:24 +0000 (21:32 +0100)
commitc94993e29bbc2634f7c9a7b506a206f0403d5bc6
treebaff618f9f967f946ca938ef3223b39d44af4eb8
parent60750b3ffda1c27f47cdcd7dc97f863e08391b32
wayland: Add support for BTN_STYLUS3

BTN_STYLUS3 is defined by the Linux 4.15 kernel and is sent when the
third button on a stylus is pressed. At the moment, only Wacom's "Pro
Pen 3D" has three stylus buttons. Pressing this button triggers a button
8 event to be sent under X11, so we use the same mapping here.

https://bugzilla.gnome.org/show_bug.cgi?id=790033
gdk/wayland/gdkdevice-wayland.c